package net.moon;

/**
 * @author moonlan
 * date 2021/4/18 18:02
 */
@SuppressWarnings(value = "unused")
public class PersonBuilderImpl extends PersonBuilder {
    {
        super.person = new Person();
    }

    @Override
    public void buildHari(String hair) {
        person.setHair(hair);
    }

    @Override
    public void buildCloth(String cloth) {
        person.setCloth(cloth);
    }

    @Override
    public void buildFaceType(String faceType) {
        person.setFaceType(faceType);
    }

    @Override
    public void buildSex(String sex) {
        person.setSex(sex);
    }
}
